let reg = /^([12][0-9]|28|[0-9])$/
console.log(reg.test('10.2'))
